<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #box {
            width: 400px;
            height: 400px;
            border: 5px solid #ff0000;
        }
        #div_hd{
            background: aquamarine;

        }
    </style>
</head>
<body>
<div id="box">
    <div id="div_hd">拖曳
        <span>【关闭】</span>
    </div>
</div>
</body>
</html>